.underlinemenu{
width: 100%;
}

.underlinemenu ul{
padding: 6px 0 0px 0; /*6px should equal top padding of "ul li a" below, 7px should equal bottom padding + bottom border of "ul li a" below*/
margin: 0;
text-align: left;
margin-top: 3px;
}

.underlinemenu ul li{
display: inline;
}

.underlinemenu ul li a{
color: #333333;
margin-right: 20px; /*spacing between each menu link*/
text-decoration: none;
border-bottom: 1px solid #333333; /*bottom border is 3px*/
}

.underlinemenu ul li a:hover, .underlinemenu ul li a.selected{
border-bottom-color: #0066cc;
color: #0066cc;
}